<?php defined('SYSPATH') OR die('No direct access allowed.') ?>
<?php echo Form::open($controller.'/'.$action.'/short'.($id?'/'.$id:''), array('id'=>'createrole_form','class'=>'form-horizontal','role'=>'form')) ?>
  <div class="form-group">
    <label for="inputRole1" class="col-lg-3 control-label">Роль</label>
    <div class="col-lg-9">
      <input name="name" type="text" class="form-control" id="inputRole1" placeholder="Роль" value="<?php echo $role['name'] ?>">
    </div>
  </div>
  <div class="form-group">
    <label for="inputDescription1" class="col-lg-3 control-label">Описание</label>
    <div class="col-lg-9">
      <input name="description" type="text" class="form-control" id="inputDescription1" placeholder="Описание" value="<?php echo $role['description'] ?>">
    </div>
  </div>

</form>
